public class Job01 {
    public static void main(String[] args) {
        int[] array = {3,2,5,6,8,4,1,9,7};
        int[] OS = new int[array.length];
        int[] JS = new int[array.length];
        for (int i = 0; i < array.length; i++) {
            if (array[i]%2==0){
                OS[i] = array[i];
                System.out.print("偶数:" +OS[i]+ "\t");
                OS[i]++;
            }else {
                JS[i] = array[i];
                JS[i]++;
            }
        }
    }
}
